fixing main page crash after search and adding backlog