#36 fix data attributes NPE