default pg error fixed