Formatting and delete footer