fix 2 wrong exception function names