add proper footer.