clean a bit inbounds reference