delete empty space

delete empty space at the end