bugfixes for synchronous messages