Fix erlang timing analysis