fix enhanced loops, static initializers