fixed the publish command