fixed bugs in sqlite name