removed duplicate dependencies in legacy