Fix pretty bad error