Fixed scaling problem