Fixed api of insecure channel