Fixed handling element fields for category element