fix \n at eof
use Maps on Elixir 0.14