fixes scaling