If it uses a two piece sensor and magnet disc, make sure the magnet disc is firm fitted/fixed tot he Bottom bracket axle and only turns when the crank is rotated, check the gap between sensor head and disc is minimal 2mm.
Check if any brake cut out is the issue.