fix "property is undefined" error

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