fix bug settings