fixing 404 errors