bug, trim those cookies