Fixed the bug stated in Issue #15.