minor adjustement (error message try/catch)