tries to fix toggle of embed button