adjust template style