Fixed entry list and insertion into sqlite database.