remove debug cruft