fixing embedded url