Settings are saved but then return to default

Hi All
I am using foreman 3.4.
I have a strange issue where i change for example Safemode rendering to no.
it get saved but after a while it gets deleted from the settings table in the database and return to default (to yes)
please advice

Thx