fix old function names