Fix lack of writing if not in section