syntax error on attrs