added support for empty attributes to cockpit