fixed types for data attributes on models