Fixed publish flag.