Fix master capsule and mole task.