remove class type