fixed the sqlite thing
finish even if it doesn't work