Fix HEAD access
Merge branch 'gate_strategy'