debug

avoid assigning TR and sliceorder if not found