fix ""receive results=NULL" bug