Stupid bug in limits