fix template sillinesses