scaling froblem fixes