fixed removefromtrip()