fix infinite loop on invalid routes, trying a questionmark on the domain period. fixes localhost.