remove useless constants