Transmit only if cache is not empty
Fix typo