Small fix in embedData