fix bug in footer