Correction for empty fields in main node