fixes removing unused use statements for functions