fixed stacktrace code for x64