added method escapeStringConn