rm unneeded strings