hdfwriter fixed