fix 404 and rescue dirty