removed register reference class