quick fixes to dispatcher

It didn't fully like the passage to standard directories.