fix trace function names