Fix for settings using mysql