current path refactoring, catch exceptions