changed categories offer from id to slug