hack around app.config until it works
seems sqlite wants these to be longs