fixed footer to use db data