bugfix stop publish