add section only if not empty