fix taskMap