remove debug fields