fixed pg native error