ad some fix in reading UDP result.
still hasn't find how to make it stand alone :(