solve scale problem