categories sends right id's through params