rename relhead to head