switched ot border macro