resolving 404 error