removing debug code in KComponent