Fixed a debug code