Fixed issue with resource location