fixed the issue to open a detail screen upon search