fixed 404 behaviours