fix bug within .limit method