fixed double escape bug