syntax error for attribute