fixes to lab6