fix for the embed sample