fixed formatting of panel