added a nil check to coverage remap