cleanup garbage console and stale code lines