rm deprecated funcs