replace M_PI/2 to M_PI_2