added footer to history compact table