Forgot to remove ',' when handling cookies