fix cs and make setUpSqlDatabase