[API ]bug fix