Fix a bug of indicator