fix some settings