How to hide some menus in Kibana

Hi
I set like below in kibana.yml
kibana hiding menu
console.enabled:false
timelion.enabled:false

But it is not hiding anything I got log like this
log [10:36:59.255] [warning][config] Settings for "42" were not applied, check for spelling errors and ensure the plugin is loaded.
log [10:36:59.259] [warning][config] Settings for "43" were not applied, check for spelling errors and ensure the plugin is loaded.

Any mistake is there
Is there any other way to work around?