fixed attribute-parser