Added couple of gems to fix issues
Fixed the search error that occurred when data was already displayed