Fix category bug where cat.id was displaying instead of name