fix in diffTrace