fix indicator bug