handle attributes with source models, categories