fix scale problem