add filter cookies before use