Fixed the debug flag