added erlang 17 support