correct footer handling