resolved problem sqlite file handling