Bug fix debug code left in header file