remove useless try...except