fix paths to work with subfolder