fix rookie logic error for loading classes.