trans: fix uv_close bug