change b into i in set_z_gyro