Display search results correctly
Removed debug code