fix 2.1.1 syntax error with updated attributes