fixes some scaling