version check does not work with erlang 17