[loose parser] More fixes to locations