Fix settings not getting applied