bugfix : DOM class was [Object] instead of string