chg: some error stuff