attempt at fixing scaling issue