fix for persistent settings