added fixes to left view and db