fix pending reference class.