smart check for 404 messages