dependency::to refactor
more fixes to dependency::to
dependency ut alignment