fix missing exception