solved bug sqlite

Signed-off-by: Fons <lord.fontana@gmail.com>