fixed directory issue, reject of non-cat events