this line is causing the print error, when trying to collapse.