Fix bug for root uris (/) on server listen