fix layout deleted message