improve main panel display