fix paths to resources