remove unused const/var/func