Fixing template default layout