use correct class for constant