changed from 'data-type' to 'type'
Revert "changed from 'data-type' to 'type'"

This reverts commit 9c353567344ffe808967ce3777f472ec344c3281.
changed from 'data-type' to 'type'