modify change_Gamma_type, a small bug