get rid of redundant text