fixed indentation probs on template