fixing settings error