fix template generation