Fix scaling problem