Fixed the mess of lim/max_i/etc