remove bug in the data socket