Template in wrong place