handle "::" in class string