fix error ressource not exists