removing unused datadir var