fix data directories