remove usless try block