erlang-r13: don't use deprecated method