remove unnessary debug code