scaling issues fix