more cleanup, support active ow query over uart