remove unneeded strings