Fixed bug. Close #104.