fixed some bugs about UDP support