moved footer to base for 404 code