bug in json sender