correct debug gem for c9
fix bug with edit/create categories