escape string method added