fix for erlang 17
Merge pull request #1 from mariahyang/master

fix for erlang 17