fix rebuild not correct.
fix nodecmp stuck problem