fix for invalid task path