fix incorrect data property reference

Fixes #759