change border in rect
last changes..