C Pmode main ()

fix #1