fix for the resources