fix a small reinitialize error