fixing NotFoundController; adding postDespatch method