cit-helper: readsetting: moved write line out of if