refactoring remoe phonon dep