path to distribution is optional parameter, validator should check it at first