fix source for resource