fix references (add HINT_PTRARRAY)