fix settings method