support enum annotation args
put an error msg in the right place