fixed settings renderpage handler; cleanup