fixed try/catch message