fix layout bug if status message is too long