i was accessing the taskConfig incorrectly