fix bugs in ASIO engine