fixed sqllite issue