fix bug when not using limit false