fix inherited resources error redirect