remove autopublish and insecure