added validation for hsi attribute