refactor review error page