Refactoring
Removes unused formatting variable
Updates 404 page