Fixed revive bug.