fixing/removing some debug lines