db app- fix 1