bug fix for GPTask