cleanup some empty links and the footer