correction isResourceBought