change hash key and fix the footer