use slashes in mids  Fixes #3797, #3583