Fix issue if the pointer is not a ressource
Update composer.json