add string to bool to fix the sqlite support