[tstr sg] get rid of prefix_comp() it is no longer used