Fix for new dired mode