fix broken publish command