in progress
fixed bug in receiver.cpp
in progress