fixed build problem. mesh api change