cookie, trim