fix directory creation error; updated version.