fixed : bug while sending empty list and list of empty lists