Fix bug with dashCounter