fix for resource formats