Replace underscore to hyphen in classnames