repaired a little mistake included in commit #380