fix market orders bid handling