fix escape checking bug