temporarily fix #366

This is a stupid fix but should work.
I prefer the way mentioned in #581. Template cover looks elegant and clear.