Removing unused imports
Error page now working properly