fixing quote escaping