hasData error (issue #39)