Remove unneeded strings