Fix an error in 4d1d7ac - get short name from classname