Fix hazard deserialization