layouts messages fix