Check each field's existence before output them