remove extraDeps
fix duplicate check