fix escape bug

see https://github.com/rubima/rubima/issues/147