wrapper to run under Erlang R16