removing insecure and autopublish