fixed the references of sqlite3 exception
updated displaying messages