remove class reference