Fixed undefined var on exception.