fixing deprecation warnings for Elixir master