fixed bug with indicator