getH5 method with no END flag fixed temporary