fix scaling things