fix path to resource file