removing redundant text