fix the bug that trace function and areaconf default setting.
todo: trace function use metatable to auto find