fixes for publishing