remove unused functions from setting