delete un-used fields in struct log