fix bug when create sqlite database connect