Updating error page and fixing error message