fix rebuild not works when value not empty