make the setting page work