fixed desgination issue in search