Fix for publish