Fixed break in building limit code