use fmdb transaction
remove no use code