Support capture group in extraction regex
remove cookie removal
protect against null derefencing