fix "property is undefined" error

"TypeError: property is undefined" error occurs when `data-property` attribute dosn't exist.