rewrite devendency