make exceptions consistent