db app- fix 6