[Fix] a bug introduce by issue #28
Issue #17: Make it possible to lose