Bug fix in way pad url is created