fix for #24: changed TraceType enum values to be consecutive