fix patterns in for of / for in statements