fix internal classes invoking