try to fix bug
add finally into try catch