fix template inclusion