catch exceptions in the code which really should fail apparently there are null values in the headers, fun