changed removeStr to removeStrOneTime