Fixed settings not being properly set