Fix pretty dumb code.