fix some more error spans