improve validation [publish] [publish binary]