bugfix of indicator add