updated pg errors