corrections and sql-lite persistence