fix jr's exception