sort of janky fix to single and multiline flash messages