temp. fix for h5 bug