removechar now seems to work fine