clean up cruft from ap