ressource collision bugfix