Fix embed not working bug