fixed freewheel handling