incremental cleanup for library submission