added hash route collection and error page