fix near bug https://twitter.com/NickBrooks37/status/992970632072577024