fix errors on setting page