cleaning up main page