Fix bug switch embed to text