... remove warning in mac system.
fix a Segments error.
...
...
..
Move the segment function into a folder.