fixed settings page

now it all works!