1. modify fold structure to adapt to the Window and Linux.