Fix many bug in uva capturer