fix directory definition in check task