Fixed issue #2. Thanks @yarikoptic for reporting!!