fix uv_close bug