fix settings patch