refactory footer