fix try - catch