Sample doesn't trigger on every hit

Ok so after setting everything up and making sure the sensor is mounted correctly, all the hits are registered in the software above the trash hold and after training the drum several times, there are still times when I hit the drum and the sample doesn’t play. Am I missing something or is this a bug?