bugfix:for dynamic footer