correct border-line for features