fix missing static on trace mutex