fix improper footer function
update for 1.1.2