bug fixes for UDP clients