add footer and small fixes