[ltp] better location handling