bugfix in indicator method of compare