clean up base page