fix color changed when delete bug