fixed closing error in tut16 & done with tut22