fix legacy API issues