fix caching includes. closes #5