changed to case sensitive matching, fixed copy paste mistake
(classname->interfacename)