fix fatal error in footer