fixes to ex1