revert code for 404 issues