rewrite
fixed data directory