Cleanup leak and fix scaling