Trying to fix publish error