fix hit formula