fix issue show top border with mode=table parameter