Removing id out of input path