cleaning up header and main page