fix double buttons issue in publisher