fix optimized public fields accessor and varargs method invocation