fix taskManager internal error