fix taskKey creation