Fix small bug.Beforehand,that code has no effect.