Fix pointer method with array.