- fixed bug with multiple template inclusion