fix escape problem