Fix header cookis
Fixed for weird behaviour of overwrite param by nil in ids_to_avoid