Fixed old uni_classname function to work as expected earlier