fix reference to local files