fixed bad publish