fixed constant class change