Removes unneeded string