Fix adapter type