fixed HEAD issue