again correct management of null id: avoid returning None by sending empty string.