fix color not recovered bug