remove excess debug code