catch path error