- fixed wrong char removal bug