fixed msq error, segfaulting right after receiving 2nd message