moving depends_on to correct location