fix dependency routes