fix issue not detecting show_hidden_files change