more dependency trimming