Padding and footer bug fixes