fixing links to resource files