Fix statistics dialog