fix singleton of App db connection