removes empty section elements