fixed bug in sentence template by changing schema