404 handling

standardize handling