fix bug for indicator