added error handling to the view requests in the cases that field is blank.