fix head mismatch