corrected gui layoutfor statistics section