add borders for master table