fix getType() for collection in IE
Lang: ref getType()