Fix some errors while publishing with signatory/version is null