minor fixes in ch7