remove unused function call