re-made scaffolds to correctly reference category foreign key