lol actually i found the error,



changed role to "roles"


was


roles.addQuery(role.name, thisRole);


changed to


roles.addQuery(roles.name, thisRole);