fix trigger SF for embedding