code clean up for landing page