fix some missing_loc stuff