removing min from the variable