Added generalize 404 controller
Syntax improvement