simplify part check
drop unnnecessary dep