fix uart bug, now finsh can work correctly on qemu