fixed right middle mill detection bug