fix the problem that the last node block has no right border