fixing bugs in late message testing