fixed small bug with missing 404 case