changed applying borders