fix footer's bug