scaling works properly now