Handling case when fields are missig.