fix border effect