Make the localhost case work again