fixing border support for os x 10 yosemite