fix problems in MultiTapDetection