fixed edit category form (kludgy)