change class separator to hyphen