fixed a ressource issue