fix reference to data directory