settings keep resetting and changing my values