fix input and add dairy router