IDE-1679 fix server publishing