Fix/crash

Just a quick fix of a little crash I encountered, plus a small update to use current Elixir as per the docs.