fix report due to postgres migration