fixed bug with new message passing format