Fixed limiting bug