fixed formatting for panels