removed trimming from attribute processing