Changed the debug save one line earlier.