fixed link to homepage on error page