fix build error caused by removal