fix error with linking to raw files