fixing ball detection for new pitch