fixed bug in u_limits