fix parsing hit length