Fix --limit doesn't work