fixes issue with footer cols being divided by 0