fixing up taskDir paths