fixed edit path for resource