patches for files in layers/messageRouter directory