Fix empty node due to spaces.