Fix exceptions.