prepare vrsion for pub