check task dir