making sure not to send empty frames, just in case