Bug fixed for footer template