fixed bug displaying footer