fix transfer border