Fixed missing newline issue with mock panel