Solved a bug in embed code