restore loosed class constants