Replace useless method with escape() method