I don't think it's unreasonable to expect an int for limit so this line can probably be left stripped out