remove outdated function call