fix log type id mapping issue