fix access to the outer type check