fix statistics in default theme, fixes #485