fixed example: "localhost" doesn't work