fix expand word to also work with other chars