close #49 fixed this bug