[Parser] Fixed parsing attributes