data directory creation fixed. needed by embedded es.