fix custom log filed bug