layout message plugin fixed