logical error was founded: oid = 3 and array index == 2