Problems with template style