fix onesided limit