fix old interface