bugfixes for renderer and syncer