rescue error if received tuple is not hash or array  #14