fix build error i webapi