fix for resource file