fix occasionally showing flash on root url, take 2