remove 1 pixel for border