removing more text when conditions met