fixing issue where limit doesn't get popped from kwargs