removing a string works