fix in unmount function if -H is not set