remove insecure and autopublish