fixed 404 condition in admin