fixing settings loading