bugfix on addClass / removeClass