minor fixes
check_h5_settings: change some asserts to nicer checks