fixed chap 3 deinit issues - interesting