EDIT
after sqlite error