Fix HEAD access