fix issues with resource data