Fix incompatible type (Elixir 1.11)