fixed some issues with the header and footer and some paths