remove unused function
visibility pass