corrected extra panel new line issue