fixed c_api tutorial