fix bug where you can't hide the active file