replaced scale with border