embed bug fix