fix bug in uninstall_page