matches complex content types
bugfix