and access the variable correctly
Merge pull request #1585 from rossriley/contenttypes-more-configurable

and access the variable correctly