improve open implement

Signed-off-by: Jack <jack.wgm@gmail.com>