fix trailing gt