remove unused function entries