fix embedded view