Fix many problem about syntax and further more