fixed a bug with receiving all unit messges