border fixing