db fix search

These are some changes I made to search to search as well as the parallax if I remember correctly. We need to clean up some of the old branches