remove codes to support UDP