fixed an issue with incorrect TASK_LOCATION resolving