removes dots from class string