update format of mswp.c