Fix redirection on error page
Merge pull request #137 from dekpient/master

Fix redirection on error page