main panel fixes