Fixed publish bugfix bug