add string to bool to fix the sqlite support
Merge pull request #5 from StaymanHou/issue#4

add string to bool to fix the sqlite support