removed ugly debug code