fix for transform says file in use