fix ct_terms echo before specific position