fix to postgres test