Fixed dependency deserialization bug