added validation to blob publishing.