fixed processing of attributes and meta data