Fixing settings for saving