fix pg array.