Fixed an issue with the debug print