fixed a bug; get returns the first element, which is a class name.