Fix incorrect url due to overzealous substitute