use slashes for mids
AMD cleanup, use slashes for mids in template