fix alignment, add variables for footer