Trim the empty space.