fixing error about search patient on home page