Remove redundant strings