fix parent folder bug
beep when active file is undefined