Better handling of empty footer/header option