change call path of recvMsg and showScreen