cleaned old debug code