Fix incompatible type