history_border fixed